package com.zhouke.certificate.chat;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="chatgpt-server",path = "/chat")
public interface ChatService {
    @GetMapping(path = "/",params = "message")
    String chat(@RequestParam String message);

}
